<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>

    <%@include file="common/head.jsp" %>

</head>

<body>

<%@include file="common/sidebar-manage.jsp" %>

<!-- 主内容 -->
<div class="main-content">
    <div class="fluid-container">

        <div class="content-wrapper">

            <div class="page-section">
                <div class="row">
                    <div class="col-md-12">
                        <h4 class="widget-title">UPDATE INFO 基本信息</h4>
                    </div>
                </div>
                <div class="row projects-holder">
                    <div class="col-md-8 col-md-offset-2 col-sm-12">
                        <form class="form-horizontal" id="adminInfoForm">
                            <div class="form-group">
                                <label class="col-sm-2 control-label"></label>
                                <div class="col-sm-10 base-info-message">
                                </div>
                            </div>
                            <div class="form-group hide">
                                <label class="col-sm-2 control-label">ID</label>
                                <div class="col-sm-10">
                                    <input type="text" name="userId" class="form-control userId"
                                           value="${currentUser.userId}">
                                </div>
                            </div>
                            <div class="form-group hide">
                                <label class="col-sm-2 control-label">密码</label>
                                <div class="col-sm-10">
                                    <input type="password" name="userPassword" class="form-control userPassword"
                                           value="${currentUser.userPassword}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">用户名</label>
                                <div class="col-sm-10">
                                    <input type="text" name="userName" class="form-control userName"
                                           value="${currentUser.userName}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">邮箱</label>
                                <div class="col-sm-10">
                                    <input type="email" name="userEmail" class="form-control userEmail"
                                           value="${currentUser.userEmail}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">电话</label>
                                <div class="col-sm-10">
                                    <input type="text" name="userPhone" class="form-control userPhone"
                                           value="${currentUser.userPhone}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">注册时间</label>
                                <div class="col-sm-10">
                                    <input type="text" name="userRegistrationTime"
                                           class="form-control userRegistrationTime"
                                           value="${currentUser.userRegistrationTime}" readonly>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-12">
                                    <button type="button" id="adminInfoBtn" class="btn btn-primary">保 存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <hr>

            <div class="page-section">
                <div class="row">
                    <div class="col-md-12">
                        <h4 class="widget-title">UPDTE PASSWORD 修改密码</h4>
                    </div>
                </div>
                <div class="row projects-holder">
                    <div class="col-md-8 col-md-offset-2 col-sm-12">
                        <form class="form-horizontal" id="updateAdminPwdForm">
                            <div class="form-group">
                                <label class="col-sm-2 control-label"></label>
                                <div class="col-sm-10 password-message">
                                </div>
                            </div>
                            <div class="form-group hide">
                                <label class="col-sm-2 control-label">ID</label>
                                <div class="col-sm-10">
                                    <input type="text" name="userId" class="form-control userId"
                                           value="${currentUser.userId}">
                                </div>
                            </div>
                            <div class="form-group hide">
                                <label class="col-sm-2 control-label">用户名</label>
                                <div class="col-sm-10">
                                    <input type="text" name="userName" class="form-control userName"
                                           value="${currentUser.userName}">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">旧密码</label>
                                <div class="col-sm-10">
                                    <input type="password" name="oldUserPassword" class="form-control oldUserPassword">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">新密码</label>
                                <div class="col-sm-10">
                                    <input type="password" class="form-control newUserPassword">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-sm-2 control-label">确认密码</label>
                                <div class="col-sm-10">
                                    <input type="password" class="form-control checkNewUserPassword">
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="col-sm-offset-2 col-sm-12">
                                    <button type="button" class="btn btn-primary" id="updateAdminPwdBtn">保 存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
            <hr>

            <%@include file="common/footer.jsp" %>

        </div>

    </div>
</div>

<%@include file="common/end.jsp" %>

</body>

</html>